kfraser@localhost.localdomain [Thu, 29 Mar 2007 17:07:33 +0000 (18:07 +0100)]
xen: Remove {nmi_pending,nmi_masked,paused} vcpu bitflags.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Thu, 29 Mar 2007 16:28:34 +0000 (16:28 +0000)]
Merge
Tim Deegan [Thu, 29 Mar 2007 16:27:52 +0000 (16:27 +0000)]
[HVM] Save/restore: PV-on-HVM driver save/restore support
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Tom Wilkie [Thu, 29 Mar 2007 16:09:49 +0000 (17:09 +0100)]
Let xm commands use domids with XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Thu, 29 Mar 2007 15:52:40 +0000 (16:52 +0100)]
xen: Get rid of some VCPUF_* flags and move into their own byte fields.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Thu, 29 Mar 2007 15:33:32 +0000 (15:33 +0000)]
Merge
Tim Deegan [Thu, 29 Mar 2007 15:32:08 +0000 (15:32 +0000)]
[HVM] Save/restore: fix missing return code in USB restore
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 29 Mar 2007 15:30:01 +0000 (15:30 +0000)]
[HVM] Save/restore: Allow save/restore of multiple NICs
Signed-off-by: Tim Deegan <Tim.Deegan@xenource.com>
Tom Wilkie [Thu, 29 Mar 2007 15:29:31 +0000 (16:29 +0100)]
Finish off network in xm via XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tim Deegan [Thu, 29 Mar 2007 15:29:15 +0000 (15:29 +0000)]
[HVM] Save/restore: backport pcnet save/restore from qemu tip.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 29 Mar 2007 15:28:27 +0000 (15:28 +0000)]
[HVM] Save/restore: Save the ACPI PM control register in qemu
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 29 Mar 2007 15:27:18 +0000 (15:27 +0000)]
[HVM] Save/restore: don't get guest size from "memory_static_min"
since it doesn't mean that any more. This is a sticking-plaster
to get HVM S/R working until the proper memory-map handling patch
is ready.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Ewan Mellor [Thu, 29 Mar 2007 15:18:39 +0000 (16:18 +0100)]
Fix bad behaviour of xm when calling event.next(), by adding a different error
code (SESSION_NOT_REGISTERED).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tom Wilkie [Thu, 29 Mar 2007 14:59:53 +0000 (15:59 +0100)]
Make network.name_label == bridge name
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Ewan Mellor [Thu, 29 Mar 2007 14:51:04 +0000 (15:51 +0100)]
Minor fix.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 29 Mar 2007 14:46:30 +0000 (15:46 +0100)]
Added asynchronous event notification through the Xen-API. Added a new command,
xm event-monitor, a new test program for the C bindings, and new bindings
themselves.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 29 Mar 2007 14:22:02 +0000 (15:22 +0100)]
Fix the xen-api-server option parsing, so that we default to listening on
all interfaces when only a port is given.
This was broken by cset 14601:
966c65f0ddba.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 29 Mar 2007 14:10:26 +0000 (15:10 +0100)]
Fix PIF_metrics_methods declaration, which has broken PIF.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Thu, 29 Mar 2007 14:06:12 +0000 (15:06 +0100)]
This patch adds serialization of sets with strings. I recursified the
serialization. Only sets with strings are supported so far.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Thu, 29 Mar 2007 14:14:26 +0000 (15:14 +0100)]
xen: Split domain_flags into discrete first-class fields in the
domain structure. This makes them quicker to access, and simplifies
domain pause and checking of runnable status.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 29 Mar 2007 12:29:24 +0000 (13:29 +0100)]
xen: Pause domain when changing debug status.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 29 Mar 2007 11:04:35 +0000 (12:04 +0100)]
hvm: Avoid separate nested-page-table control-register logic in SVM code.
Clean up VMX set_cr0() function a little to avoid unnecesasry diffs
with SVM version.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 29 Mar 2007 10:01:41 +0000 (11:01 +0100)]
hvm: Remove extremely verbose debugging from SVM code.
It would be too verbose to actually turn on to find any non-subtle
bugs, and severely bloats the vmexit handler (making it hard to find
the real code amongst the debugging code).
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 29 Mar 2007 09:41:37 +0000 (10:41 +0100)]
hvm vmx: Better management of VMX control bitmaps.
Distinguish between 'nice to have' and 'must have' features.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Wed, 28 Mar 2007 19:19:11 +0000 (20:19 +0100)]
pciback: Devices can lose config space info on D3->D0 transition, yet
they may not (and even if they try, can not) restore the BARs. Since
Linux does not do this for us, pciback must do it for itself manually.
Possible todo: Restore all first 64 bytes of the config space?
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Wed, 28 Mar 2007 17:48:54 +0000 (18:48 +0100)]
ia64: Remove list_move() implementation. Now implemenetd in generic list.h.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Keir Fraser [Wed, 28 Mar 2007 17:47:17 +0000 (18:47 +0100)]
hvm: Clean up handling of exception intercepts.
Only intercept #DB/#BP if a debugger is attached.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Wed, 28 Mar 2007 15:52:05 +0000 (16:52 +0100)]
hvm svm: Inject #UD exception if guest tries to execute any SVM-related
function (except VMMCALL).
Signed-off-by: Mats Petersson <mats.petersson@amd.com>
Tim Deegan [Wed, 28 Mar 2007 15:04:14 +0000 (15:04 +0000)]
Merge
Tim Deegan [Wed, 28 Mar 2007 15:02:54 +0000 (15:02 +0000)]
[SVM] Inject a "fake" interrupt if we delay an interrupt for an exception
(instead of just waiting for the next vmexit to inject the pending
interrupt, since that could be some arbitrary number of instructions later).
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Steven Hand [Wed, 28 Mar 2007 14:58:42 +0000 (15:58 +0100)]
Don't trap int3 instructions by default - can have a major overhead in
certain cases, and typically not used for anything.
Signed-off-by: Steven Hand <steven@xensource.com>
Tom Wilkie [Wed, 28 Mar 2007 14:31:17 +0000 (15:31 +0100)]
Remove unused import; library moved
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Wed, 28 Mar 2007 14:01:24 +0000 (15:01 +0100)]
linux pciback: Proper fix for build failure.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Wed, 28 Mar 2007 13:43:41 +0000 (14:43 +0100)]
xen: Sync the list.h macros to Linux 2.6.18.
This also pulls in RCU-related functions, superceding a patch from Mike Day.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Mar 2007 13:42:54 +0000 (14:42 +0100)]
linux: Fix the pciback build (temporary hack).
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Mar 2007 13:00:56 +0000 (14:00 +0100)]
[ACM] Allow version information to be embedded in the XML representation of
the ACM policy. The translation tool has been adapted to parse the
version found in the XML representation and put it into the binary
policy. Xen has been adapted to remember the version information and
report it when asked for the current policy.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Wed, 28 Mar 2007 12:56:22 +0000 (13:56 +0100)]
xenbus: check function return values of functions declared with
__must_check post-2.6.18.
This implies completely suppressing frontend/backend operations if the
respective bus or device registration failed.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Wed, 28 Mar 2007 12:55:01 +0000 (13:55 +0100)]
pciback: check function return values of functions declared with
__must_check post-2.6.18.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Wed, 28 Mar 2007 12:53:27 +0000 (13:53 +0100)]
Remove page_is_removable arch hook. Now the ia64 p2m semantic becomes
same as the x86 p2m table so that the hook is unnecessary any more.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
kfraser@localhost.localdomain [Wed, 28 Mar 2007 12:52:03 +0000 (13:52 +0100)]
linux evtchn: Read function in evtchn driver requires locking.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tom Wilkie [Wed, 28 Mar 2007 11:38:13 +0000 (12:38 +0100)]
Fix to let TCP server run without SSL installed.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Christian Limpach [Wed, 28 Mar 2007 10:01:58 +0000 (11:01 +0100)]
[linux] Fix xenbus device to allow replies larger than 4096 bytes.
Also fix reply_queue mutex across fragmented replies and for concurrent
readers.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Mar 2007 09:41:53 +0000 (10:41 +0100)]
Merge with xen-ia64-unstable.hg
kfraser@localhost.localdomain [Wed, 28 Mar 2007 09:38:41 +0000 (10:38 +0100)]
Merge with xen-ia64-unstable.hg
Christian Limpach [Wed, 28 Mar 2007 09:36:49 +0000 (10:36 +0100)]
[ioemu] Don't enable monitor or serial console on virtual consoles by default.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Tim Deegan [Wed, 28 Mar 2007 09:12:16 +0000 (09:12 +0000)]
Editing long lines in pygrub interactively could lead to tracebacks.
Attached patch fixes things.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
Christian Limpach [Wed, 28 Mar 2007 09:05:37 +0000 (10:05 +0100)]
[ioemu] Revert 14585:
3375391fb0c9 since this removes useful functionality.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Ewan Mellor [Wed, 28 Mar 2007 09:05:03 +0000 (10:05 +0100)]
Fix missing import.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Wed, 28 Mar 2007 09:04:32 +0000 (10:04 +0100)]
Fix diagnosis of unhandled exceptions.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tim Deegan [Wed, 28 Mar 2007 08:44:08 +0000 (08:44 +0000)]
Merge
Tim Deegan [Wed, 28 Mar 2007 08:40:42 +0000 (08:40 +0000)]
[HVM][HAP] Fix up some memory allocation bugs
The attached patch initializes count_info of newly allocated hap page
with 0, and removes unnecessary page deallcation when destroying monitor
table. Without this patch, destroying hap domain will fail.
Signed-off-by: Wei Huang (wei.huang2@amd.com)
Ewan Mellor [Wed, 28 Mar 2007 00:09:14 +0000 (01:09 +0100)]
Fix typo.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 27 Mar 2007 22:23:01 +0000 (23:23 +0100)]
Added HTTPS support to Xend. There are new configuration options for the
Xen-API and legacy XML-RPC servers to set key and certificate files, and
xm simply needs to be configured use an https rather than an http URL.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 27 Mar 2007 22:03:32 +0000 (23:03 +0100)]
Added comment regarding a Python bug.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 27 Mar 2007 21:34:22 +0000 (22:34 +0100)]
Move the client-specific parts of xmlrpclib2 into xmlrpcclient.py. This means
that clients do not need to import swathes of server code.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
awilliam@xenbuild2.aw [Tue, 27 Mar 2007 18:21:48 +0000 (12:21 -0600)]
merge with xen-unstable.hg
Ewan Mellor [Tue, 27 Mar 2007 15:52:56 +0000 (16:52 +0100)]
Add auto-start and auto-stop functionality.
Patch by Alastair Tse <atse@xensource.com>.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 27 Mar 2007 15:33:26 +0000 (16:33 +0100)]
Use the new blkback sysfs statistics/{rd,wr}_sect to get a more accurate
bandwidth measurements for VBD I/O.
Patch by Alastair Tse <atse@xensource.com>.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 18:05:48 +0000 (19:05 +0100)]
hvm svm: Do not deliver virtual interrupts concurrently with virtual exceptions.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 17:53:05 +0000 (18:53 +0100)]
hvm svm: Initialise VMCB CR4 and shadow CR4 with 0 when VMCB is being
constructed under nested paging mode. It complies with recent
reset_to_realmode change in hvmloader.
Signed-off-by: Wei Huang <wei.huang2@amd.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 17:51:07 +0000 (18:51 +0100)]
hvm: Clean up intr_assist() functions (both VMX and SVM,. but mainly
the latter!).
Signed-off-by: Keir Fraser <keir@xensource.com>
Tom Wilkie [Tue, 27 Mar 2007 16:43:36 +0000 (17:43 +0100)]
Fix typo in VDB_metrics_methods in XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
awilliam@xenbuild2.aw [Tue, 27 Mar 2007 15:07:51 +0000 (09:07 -0600)]
[IA64] Remove debugger calls from panic_domain()
These hang when compiled with crash_debug=y
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Tom Wilkie [Tue, 27 Mar 2007 14:47:02 +0000 (15:47 +0100)]
Make xm sysrq work via XenAPI re: PAUSED state problem
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 16:23:33 +0000 (17:23 +0100)]
linux/x86-64: cleanup the Xen-specific macros in entry-xen.S
- SWITCH_TO_KERNEL is dead (and was broken)
- comments to HYPERVISOR_IRET were somewhat outdated
- updates of selecor RPLs shouldn't be done with byte size to avoid
store-to-load forwarding issues
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 16:21:14 +0000 (17:21 +0100)]
hvm svm: Bug fix for page allocation when HAP is being used
Initialise count_info of newly allocated hap page with 0, and removes
unnecessary page deallcation when destroying monitor table. Without
this patch, destroying hap domain will fail.
Signed-off-by: Wei Huang <wei.huang2@amd.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 15:56:20 +0000 (16:56 +0100)]
hvm: Fix undefined bit shifting in mmio emulation path
In functions set_eflags_* (xen/arch/x86/hvm/io.c), if the first
argument "size" equals sizeof(long), the following code will produce
unintended and invalid result:
unsigned long mask = (1 << (8 * size)) - 1;
In ANSI C, if the shift amount is greater or equal to the width of the
data type, the result is undefined. Specifically on x86, a bit mask is
applied to the shift amount, so that more significant bits are
ignored. So the above expression results 0x0 instead of the intended
~0UL.
This patch fixes this issue. Because size=0 is not a valid parameter,
rewriting the code using right shift avoids an additional condition
check.
Signed-off-by: Qing He <qing.he@intel.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 15:45:37 +0000 (16:45 +0100)]
Fix 'xm list' long output to skip legacy 'cpus'.
Fixes bugzilla report #935.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 15:42:47 +0000 (16:42 +0100)]
xen: Remove legacy references to explicitly per-cpu perf counters.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 15:35:37 +0000 (16:35 +0100)]
xen: Make all performance counter per-cpu, avoiding the need to update
them with atomic (locked) ops.
Conversion here isn't complete in the sense that many places still use
the old per-CPU accessors (which are now redundant). Since the patch
is already rather big, I'd prefer replacing those in a subsequent
patch.
While doing this, I also converted x86's multicall macros to no longer
require inclusion of asm-offsets.h in the respective C file (on IA64
the use of asm-offsets.h in C sources seems more wide spread, hence
there I rather used IA64_ prefixes for the otherwise conflicting
performance counter indices).
On x86, a few counter increments get moved a little, to avoid
duplicate counting of preempted hypercalls.
Also, a few counters are being added.
IA64 changes only compile-tested, hence somebody doing active IA64
work may want to have a close look at those changes.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 15:23:52 +0000 (16:23 +0100)]
hvm: Remove access to QEMU monitor in VNC server
This fixes a RHEL5 errata and CVE-2007-0998.
The monitor is still accessible in debug builds of ioemu (debug=y).
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 15:19:25 +0000 (16:19 +0100)]
linux: Fix for missing response to XS_UNWATCH request.
From: Magnus Carlsson <magnus@galois.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 15:03:30 +0000 (16:03 +0100)]
Further shrink the big-lock window.
A few more adjustments to when the 'big' lock is taken/dropped.
Also, fix a case where the foreign domain setting may not get properly
cleared at the end of a hypercall (in case of an early error).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 14:53:45 +0000 (15:53 +0100)]
Add WARN() and generic WARN_ON().
Based on a patch by Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 13:50:17 +0000 (14:50 +0100)]
In order to allow building as non-root with a non-default CC (which
root may not have access to through its $PATH), defer the generation
of an error until CC is actually needed.
Original patch by Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Tue, 27 Mar 2007 13:34:34 +0000 (14:34 +0100)]
Do not issue a warning on XendDomainInfo.recreate for dom0 -- this is normal
on a clean machine.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 27 Mar 2007 13:22:29 +0000 (14:22 +0100)]
Fix some fields so that they are declared as read-only (always should have
been) and implement {VBD,VIF}_metrics.get_all.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tom Wilkie [Tue, 27 Mar 2007 13:02:17 +0000 (14:02 +0100)]
Merge
Tom Wilkie [Tue, 27 Mar 2007 12:45:30 +0000 (13:45 +0100)]
Fix typo in VIF_metrics_methods in XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 10:54:16 +0000 (11:54 +0100)]
linux: Fix a compiler warning (unused local variable).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 10:53:07 +0000 (11:53 +0100)]
hvm svm: Rename svm_do_vmmcall_reset_to_realmode() and some small
cleanups.
Signed-off-by: Mats Petersson <mats.petersson@amd.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 10:50:43 +0000 (11:50 +0100)]
[ACM] Check offset to be within the buffer's size
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 10:47:20 +0000 (11:47 +0100)]
Fix time reporting to guest.
The recent change to guest time handling dropped a call to
update_vcpu_system_time(), leading to time-went-backwards messages and
guest hangs (the latter were observed only in 2.6.21-rc4 and only when
no serial console was in use).
Debugging the issue also revealed that some commented out debug
printk-s in x86's time handling code didn't compile under x86-64.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Tue, 27 Mar 2007 10:31:25 +0000 (11:31 +0100)]
Fix the default for the is_a_template flag.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Mar 2007 10:20:55 +0000 (11:20 +0100)]
Fix push/jmp/call <reg/mem> to check whether the operand is register
or memory when expanding the operand to 8 bytes on x86/64.
Based on original patch by Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Tom Wilkie [Mon, 26 Mar 2007 16:22:45 +0000 (17:22 +0100)]
Fix xm network-attach via XenAPI re: paused domain state
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
awilliam@xenbuild2.aw [Mon, 26 Mar 2007 16:10:31 +0000 (10:10 -0600)]
merge with xen-unstable.hg
Tom Wilkie [Mon, 26 Mar 2007 15:48:20 +0000 (16:48 +0100)]
Fix up xm vcpu-pin via XenAPI, change types of new VM Metrics feilds
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Mon, 26 Mar 2007 15:18:16 +0000 (16:18 +0100)]
Make 06_destroy_dom0_neg pass with xm via XenAPI.
Make check case insensitive.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
awilliam@xenbuild2.aw [Mon, 26 Mar 2007 15:17:25 +0000 (09:17 -0600)]
[IA64] Remove P2M workaround
The ia64 p2m semantic is now fixed. remove unnecessary work around patch.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild2.aw [Mon, 26 Mar 2007 15:15:17 +0000 (09:15 -0600)]
[IA64] Make P2M semantics match x86
So far the ia64 p2m has the semantic similar to
(the x86 p2m) + (page reference count).
But the differece from the x86 p2m have caused the breakage and work around.
This patch make the ia64 p2m semantic same as x86 to solve it.
- get_page() only for grant table page mapping and foreign domain page
mapping.
- put_page() only for those pages.
- guest_physmap_remove_page() doesn't touch PGC_allocated bit.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Tom Wilkie [Mon, 26 Mar 2007 15:04:24 +0000 (16:04 +0100)]
Fix xm info etc since changes to Session in XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Mon, 26 Mar 2007 14:09:24 +0000 (15:09 +0100)]
Add option to xm create to skip DTD checks.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Mon, 26 Mar 2007 13:57:12 +0000 (14:57 +0100)]
Add autodetect to xm create for xml files
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Ewan Mellor [Mon, 26 Mar 2007 23:54:05 +0000 (00:54 +0100)]
Convert XendPIFMetrics into an autoplug class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 26 Mar 2007 23:48:46 +0000 (00:48 +0100)]
Convert XendVMMetrics into an autoplug class. Tidy up our destroy methods
on the way -- metrics classes cannot be destroyed.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 26 Mar 2007 23:19:20 +0000 (00:19 +0100)]
Added network.other_config map. To make this easier, add a new automatic
plumbing facility from the XendNetwork class into XendAPI (credit to Tom
Wilkie for the idea).
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 26 Mar 2007 23:15:07 +0000 (00:15 +0100)]
Trivial tidyup.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Mon, 26 Mar 2007 13:10:19 +0000 (14:10 +0100)]
This patch replaces tab with 4 whitespaces in xensec_gen/main.py.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Ewan Mellor [Mon, 26 Mar 2007 13:09:36 +0000 (14:09 +0100)]
Don't set memory_dynamic_max when xm mem-set is called. Save the VM
configuration unconditionally when either the max or the target memory values
are set.
Thanks to Masaki Kanno for pointing out the first problem.
Signed-off-by: Ewan Mellor <ewan@xensource.com>